package com.archives.blog.common.domain.pojo.result;

public class Result<T> {

	private T resultObject;
	
	private String errorMsg;
	
	private boolean success = false;

	/**
	 * @return the resultObject
	 */
	public T getResultObject() {
		return resultObject;
	}

	/**
	 * @param resultObject the resultObject to set
	 */
	public void setResultObject(T resultObject) {
		this.resultObject = resultObject;
	}

	/**
	 * @return the errorMsg
	 */
	public String getErrorMsg() {
		return errorMsg;
	}

	/**
	 * @param errorMsg the errorMsg to set
	 */
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	/**
	 * @return the success
	 */
	public boolean isSuccess() {
		return success;
	}

	/**
	 * @param success the success to set
	 */
	public void setSuccess(boolean success) {
		this.success = success;
	}
	
}
